﻿using Okra.Services;
using System;
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dynamics.NAV.Metro.Common
{
    public class LifetimeAwareService : ILifetimeAware
    {
        public LifetimeAwareService()
        {
        }

        public Task OnExiting()
        {
            return Task.FromResult<bool>(true);
        }

        public Task OnResuming()
        {
            return Task.FromResult<bool>(true);
        }

        public Task OnSuspending()
        {
            return Task.FromResult<bool>(true);
        }
    }
}
